﻿using HeadFirst._03.Decorater.Beverages;
using HeadFirst._03.Decorater.Beverages.CondimentDecoratores;
using System;

namespace HeadFirst._03.Decorater
{
    class Program
    {
        static void Main(string[] args)
        {
            Beverage beverage = new Espresso();
             beverage = new Milk(beverage);


            Console.WriteLine(beverage.GetDescription()+"价格为:"+ beverage.Cost());
            Console.ReadLine();


        }
    }
}
